﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace GEA
{
    public partial class frmReportMovimentos : Form
    {
        //DU Du = new DU();
        string id_E;
        string id_P;


        public frmReportMovimentos()
        {
            InitializeComponent();
        }

        public frmReportMovimentos(string id_e, string id_p)
        {
            InitializeComponent();
            id_E = id_e;
            id_P = id_p;

        }

        private void Form1_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'geaDataSet.GetProcessoMovimentos' table. You can move, or remove it, as needed.

            // TODO: This line of code loads data into the 'geaDataSet.GetSaldoReferencia' table. You can move, or remove it, as needed.
            
            // TODO: This line of code loads data into the 'geaDataSet.GetProcesso' table. You can move, or remove it, as needed.
            this.GetProcessoMovimentosTableAdapter.Fill(this.geaDataSet.GetProcessoMovimentos, id_E, id_P);

            this.reportViewer1.RefreshReport();
        }
    }
}
